﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using Calvin.Utilities.Excel操作;
using System.Data;

namespace testweb.Excel操作
{
    public partial class aspxRenderDataTableFromExcel : System.Web.UI.Page
    {
      
        protected void Page_Load(object sender, EventArgs e)
        {
            FileStream ss = new FileStream(Server.MapPath("2014年预征数据备份-20140529.xls"),FileMode.Open);

            DataTable ssss = ExcelUtilityNoCom.RenderDataTableFromExcel(ss, 0, 0, true);
        }
    }
}